package com.wz.device.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author qiqi
 * @since 2021-10-22
 */
@Entity
@Table(name = "bas_roadway")
public class BasRoadway implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "id")
    private BigDecimal id;

    @Column(name = "roadway_id")
    private String roadway_id;

    @Column(name = "warehouse_id")
    private String warehouse_id;

    @Column(name = "roadway_name")
    private String roadway_name;

    @Column(name = "device_id")
    private String device_id;

    @Column(name = "in_locked")
    private String in_locked;

    @Column(name = "out_locked")
    private String out_locked;

    @Column(name = "in_locked1")
    private String in_locked1;

    @Column(name = "in_locked2")
    private String in_locked2;

    public BigDecimal getId() {
        return id;
    }

    public void setId(BigDecimal id) {
        this.id = id;
    }

    public String getRoadway_id() {
        return roadway_id;
    }

    public void setRoadway_id(String roadway_id) {
        this.roadway_id = roadway_id;
    }

    public String getWarehouse_id() {
        return warehouse_id;
    }

    public void setWarehouse_id(String warehouse_id) {
        this.warehouse_id = warehouse_id;
    }

    public String getRoadway_name() {
        return roadway_name;
    }

    public void setRoadway_name(String roadway_name) {
        this.roadway_name = roadway_name;
    }

    public String getDevice_id() {
        return device_id;
    }

    public void setDevice_id(String device_id) {
        this.device_id = device_id;
    }

    public String getIn_locked() {
        return in_locked;
    }

    public void setIn_locked(String in_locked) {
        this.in_locked = in_locked;
    }

    public String getOut_locked() {
        return out_locked;
    }

    public void setOut_locked(String out_locked) {
        this.out_locked = out_locked;
    }

    public String getIn_locked1() {
        return in_locked1;
    }

    public void setIn_locked1(String in_locked1) {
        this.in_locked1 = in_locked1;
    }

    public String getIn_locked2() {
        return in_locked2;
    }

    public void setIn_locked2(String in_locked2) {
        this.in_locked2 = in_locked2;
    }

    @Override
    public String toString() {
        return "BasRoadway{" +
                "id=" + id +
                ", roadway_id='" + roadway_id + '\'' +
                ", warehouse_id='" + warehouse_id + '\'' +
                ", roadway_name='" + roadway_name + '\'' +
                ", device_id='" + device_id + '\'' +
                ", in_locked='" + in_locked + '\'' +
                ", out_locked='" + out_locked + '\'' +
                ", in_locked1='" + in_locked1 + '\'' +
                ", in_locked2='" + in_locked2 + '\'' +
                '}';
    }
}
